home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Xm
/
XmTextCopy.z
/
XmTextCopy
Wrap
Text File
|
1998-10-30
|
3KB
|
67 lines
XXXXmmmmTTTTeeeexxxxttttCCCCooooppppyyyy((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmTTTTeeeexxxxttttCCCCooooppppyyyy((((3333XXXX))))
NNNNAAAAMMMMEEEE
XXXXmmmmTTTTeeeexxxxttttCCCCooooppppyyyy - A Text function that copies the primary
selection to the clipboard
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
#include <Xm/Text.h>
BBBBoooooooolllleeeeaaaannnn XXXXmmmmTTTTeeeexxxxttttCCCCooooppppyyyy(
WWWWiiiiddddggggeeeetttt wwwwiiiiddddggggeeeetttt,
TTTTiiiimmmmeeee ttttiiiimmmmeeee);
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents Motif 2.1.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmTTTTeeeexxxxttttCCCCooooppppyyyy copies the primary selected text to the
clipboard.
This routine calls the XXXXmmmmNNNNccccoooonnnnvvvveeeerrrrttttCCCCaaaallllllllbbbbaaaacccckkkk procedures,
possibly multiple times, with the _s_e_l_e_c_t_i_o_n member of the
XXXXmmmmCCCCoooonnnnvvvveeeerrrrttttCCCCaaaallllllllbbbbaaaacccckkkkSSSSttttrrrruuuucccctttt set to _C_L_I_P_B_O_A_R_D and with the _p_a_r_m
member set to XXXXmmmmCCCCOOOOPPPPYYYY.
_w_i_d_g_e_t Specifies the Text widget ID.
_t_i_m_e Specifies the server time at which the selection
value is to be modified. This should be the time
of the event which triggered this request. One
source of a valid time stamp is the function
XXXXttttLLLLaaaassssttttTTTTiiiimmmmeeeessssttttaaaammmmppppPPPPrrrroooocccceeeesssssssseeeedddd(((()))).
For a complete definition of Text and its associated
resources, see XXXXmmmmTTTTeeeexxxxtttt(3).
RRRREEEETTTTUUUURRRRNNNN
This function returns False if the primary selection is
NULL, if the _w_i_d_g_e_t does not own the primary selection, if
the function is unable to gain ownership of the clipboard
selection, or if no data is placed on the clipboard.
Otherwise, it returns True.
RRRREEEELLLLAAAATTTTEEEEDDDD
XXXXmmmmTTTTeeeexxxxtttt(3).
Page 1 (printed 10/24/98)